using dotnet_graphql_demo.Model;
using GraphQL.Types;
using System;

namespace dotnet_graphql_demo.Infrastructure.Graphql
{
    public class AccountType: ObjectGraphType<Account>
    {
       public  AccountType()
        {
            Field(x => x.Id);
            Field(x => x.Description);
            Field(x => x.Type);
        }
    }
}